package com.jbbis.portal.calendar.util;

import java.util.Iterator;
import java.util.Map;

import org.apache.log4j.Logger;

import com.jbbis.portal.calendar.web.bean.CalendarRefreshBean;

public class TestUtil {
	private static Logger log =Logger.getLogger(CalendarRefreshBean.class.getName()) ;
	
	//show the map's key and value
	public static void showMap(Map<String, String> paramMap,String mapName){
		
//     	test  
        for (Iterator iter = paramMap.entrySet().iterator(); iter.hasNext();) {
            Map.Entry<String, Object>entry = (Map.Entry<String, Object>) iter
                    .next();
            log.debug(mapName+" map key is: "+entry.getKey()+" value is: "+entry.getValue());
            
        }
	}
	
}
